package com.car.loan.project.ve.service;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.car.loan.framework.web.domain.AjaxResult;
import com.car.loan.project.ve.domain.VeVehicleEvaluation;
import com.car.loan.project.ve.domain.bo.VehicleEvaluationApplyAddBo;
import com.car.loan.project.ve.domain.bo.VehicleEvaluationApplyUpdateBo;
import com.car.loan.project.ve.domain.bo.VehicleEvaluationInputBo;
import com.car.loan.project.ve.domain.select.VehicleEvaluationBaseSelect;
import com.car.loan.project.ve.domain.vo.VehicleEvaluationBaseVo;
import java.util.Collection;
import java.util.List;

/**
 * 车辆评估Service接口
 *
 * @author ruoyi
 * @date 2019-10-29
 */
public interface IVeVehicleEvaluationService {

    /**
     * 查询车辆评估
     *
     * @param id 车辆评估ID
     * @return 车辆评估
     */
    public VeVehicleEvaluation selectVeVehicleEvaluationById(Long id);

    /**
     * 查询车辆评估列表
     *
     * @param veVehicleEvaluation 车辆评估
     * @return 车辆评估集合
     */
    public List<VeVehicleEvaluation> selectVeVehicleEvaluationList(
        VeVehicleEvaluation veVehicleEvaluation);

    List<VeVehicleEvaluation> selectVeVehicleEvaluationQueryList(QueryWrapper<VeVehicleEvaluation> queryWrapper);

    /**
     * 查询分页数据
     */
    IPage<VeVehicleEvaluation> selectPage(IPage<VeVehicleEvaluation> page,
        QueryWrapper<VeVehicleEvaluation> queryWrapper);

    Page<VehicleEvaluationBaseVo> findVehicleEvaluationBasePage(VehicleEvaluationBaseSelect vehicleEvaluationBaseSelect);

    VeVehicleEvaluation save(VehicleEvaluationApplyAddBo vehicleEvaluationApplyAddBo);

    AjaxResult update(VehicleEvaluationApplyUpdateBo vehicleEvaluationApplyUpdateBo);

    AjaxResult input(VehicleEvaluationInputBo vehicleEvaluationInputBo);

    /**
     * 新增车辆评估
     *
     * @param veVehicleEvaluation 车辆评估
     * @return 结果
     */
    public int insertVeVehicleEvaluation(VeVehicleEvaluation veVehicleEvaluation);

    /**
     * 修改车辆评估
     *
     * @param veVehicleEvaluation 车辆评估
     * @return 结果
     */
    public int updateVeVehicleEvaluation(VeVehicleEvaluation veVehicleEvaluation);

    /**
     * 批量删除车辆评估
     *
     * @param ids 需要删除的数据ID
     * @return 结果
     */
    public int deleteVeVehicleEvaluationByIds(Collection<Integer> ids);

    /**
     * 删除车辆评估信息
     *
     * @param id 车辆评估ID
     * @return 结果
     */
    public int deleteVeVehicleEvaluationById(Integer id);
}
